<?php slot('banners') ?>
    <?php foreach($banners as $key=>$banner): ?>
<?php $key = $key+3; ?>
	    <div class="picture-frame <?php echo $key == 3 ? 'big p'.$key :'small p'.$key; ?>" id="p<?php echo $key+1 ?>">
		    <?php if($key == 3): ?>
		    <a href="<?php echo $banner['link']; ?>"><img src="<?php echo @myPicture::getInstance( $banner->getPicture() )->thumbnail(380,230,'center')->url()  ?>" alt="<?php echo $banner['name']; ?>" /></a>
		    <?php else: ?>
		    <a href="<?php echo $banner['link']; ?>"><img src="<?php echo @myPicture::getInstance( $banner->getPicture() )->thumbnail(148,193,'center')->url()  ?>" alt="<?php echo $banner['name']; ?>" /></a>
		    <?php endif; ?>
		    <p><a href="<?php echo $banner['link']; ?>"><?php echo $banner['name']; ?></a></p>
	    </div>
    <?php endforeach; ?>
<?php end_slot() ?>
